<?php
/*
 * Copyright (c) 2017-2025 Tencent. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
namespace TencentCloud\Yunjing\V20180228\Models;
use TencentCloud\Common\AbstractModel;

/**
 * Trojan information
 *
 * @method integer getId() Obtain Event ID.
 * @method void setId(integer $Id) Set Event ID.
 * @method string getMachineIp() Obtain Server IP.
 * @method void setMachineIp(string $MachineIp) Set Server IP.
 * @method string getStatus() Obtain Current trojan status.
<li>UN_OPERATED: not processed</li><li>SEGREGATED: isolated</li><li>TRUSTED: trusted</li>
<li>SEPARATING: isolating</li><li>RECOVERING: recovering</li>
 * @method void setStatus(string $Status) Set Current trojan status.
<li>UN_OPERATED: not processed</li><li>SEGREGATED: isolated</li><li>TRUSTED: trusted</li>
<li>SEPARATING: isolating</li><li>RECOVERING: recovering</li>
 * @method string getFilePath() Obtain Trojan path.
 * @method void setFilePath(string $FilePath) Set Trojan path.
 * @method string getDescription() Obtain Trojan description.
 * @method void setDescription(string $Description) Set Trojan description.
 * @method string getMachineName() Obtain Server name.
 * @method void setMachineName(string $MachineName) Set Server name.
 * @method string getFileCreateTime() Obtain Trojan file creation time.
 * @method void setFileCreateTime(string $FileCreateTime) Set Trojan file creation time.
 * @method string getModifyTime() Obtain Trojan file modification time.
 * @method void setModifyTime(string $ModifyTime) Set Trojan file modification time.
 * @method string getUuid() Obtain CWP agent `UUID`.
 * @method void setUuid(string $Uuid) Set CWP agent `UUID`.
 */
class Malware extends AbstractModel
{
    /**
     * @var integer Event ID.
     */
    public $Id;

    /**
     * @var string Server IP.
     */
    public $MachineIp;

    /**
     * @var string Current trojan status.
<li>UN_OPERATED: not processed</li><li>SEGREGATED: isolated</li><li>TRUSTED: trusted</li>
<li>SEPARATING: isolating</li><li>RECOVERING: recovering</li>
     */
    public $Status;

    /**
     * @var string Trojan path.
     */
    public $FilePath;

    /**
     * @var string Trojan description.
     */
    public $Description;

    /**
     * @var string Server name.
     */
    public $MachineName;

    /**
     * @var string Trojan file creation time.
     */
    public $FileCreateTime;

    /**
     * @var string Trojan file modification time.
     */
    public $ModifyTime;

    /**
     * @var string CWP agent `UUID`.
     */
    public $Uuid;

    /**
     * @param integer $Id Event ID.
     * @param string $MachineIp Server IP.
     * @param string $Status Current trojan status.
<li>UN_OPERATED: not processed</li><li>SEGREGATED: isolated</li><li>TRUSTED: trusted</li>
<li>SEPARATING: isolating</li><li>RECOVERING: recovering</li>
     * @param string $FilePath Trojan path.
     * @param string $Description Trojan description.
     * @param string $MachineName Server name.
     * @param string $FileCreateTime Trojan file creation time.
     * @param string $ModifyTime Trojan file modification time.
     * @param string $Uuid CWP agent `UUID`.
     */
    function __construct()
    {

    }

    /**
     * For internal only. DO NOT USE IT.
     */
    public function deserialize($param)
    {
        if ($param === null) {
            return;
        }
        if (array_key_exists("Id",$param) and $param["Id"] !== null) {
            $this->Id = $param["Id"];
        }

        if (array_key_exists("MachineIp",$param) and $param["MachineIp"] !== null) {
            $this->MachineIp = $param["MachineIp"];
        }

        if (array_key_exists("Status",$param) and $param["Status"] !== null) {
            $this->Status = $param["Status"];
        }

        if (array_key_exists("FilePath",$param) and $param["FilePath"] !== null) {
            $this->FilePath = $param["FilePath"];
        }

        if (array_key_exists("Description",$param) and $param["Description"] !== null) {
            $this->Description = $param["Description"];
        }

        if (array_key_exists("MachineName",$param) and $param["MachineName"] !== null) {
            $this->MachineName = $param["MachineName"];
        }

        if (array_key_exists("FileCreateTime",$param) and $param["FileCreateTime"] !== null) {
            $this->FileCreateTime = $param["FileCreateTime"];
        }

        if (array_key_exists("ModifyTime",$param) and $param["ModifyTime"] !== null) {
            $this->ModifyTime = $param["ModifyTime"];
        }

        if (array_key_exists("Uuid",$param) and $param["Uuid"] !== null) {
            $this->Uuid = $param["Uuid"];
        }
    }
}
